<pre class="docs-method-signature"><code>link.toJSON()</code></pre>
<p>Return a copy of the link's attributes for JSON serialization. This is a method analogous to <a href="#dia.Element.prototype.toJSON">toJSON</a> method of <code>Joint.dia.Element</code>.</p>
